package kr.hkit.powerjava.coffee;

import javax.swing.JPanel;
import javax.swing.JButton;
import java.awt.FlowLayout;
import javax.swing.BoxLayout;
import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JComboBox;

public class PanelInput2 extends JPanel {
	private LabelAndTxt pdName;
	private LabelAndTxt pdPrice;
	private LabelAndTxt amount;
	private LabelAndTxt marjinRate;

	/**
	 * Create the panel.
	 */
	public PanelInput2() {

		initialize();
	}
	private void initialize() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		
		pdName = new LabelAndTxt("제품명");
		pdName.getTextField().setEditable(false);
		add(pdName);
		
		pdPrice = new LabelAndTxt("제품단가");
		add(pdPrice);
		
		amount = new LabelAndTxt("판매수량");
		add(amount);
		
		marjinRate = new LabelAndTxt("마 진 율");
		add(marjinRate);
		
		
	}
	public LabelAndTxt getPdPrice() {
		return pdPrice;
	}
	public LabelAndTxt getAmount() {
		return amount;
	}
	public LabelAndTxt getMarjinRate() {
		return marjinRate;
	}
	
	
}
